package com.mingdong.second.factory.factoryMethod;

import com.mingdong.second.factory.simpleFactory.Car;

public class Test {

	public static void main(String[] args) {
		
		AoDiCarFactory aodiFactory = new AoDiCarFactory();
		
		aodiFactory.createCar().run();
		
		BenChiCarFactory benChiFactory = new BenChiCarFactory();
	
		benChiFactory.createCar().run();
	}
	

}
